﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp3
{
    
    class NPC:Father
    {
        
        public NPC(string name, string name1):base(name,name1){ }

        public void talk1()
        {
            Console.WriteLine($"恭喜！{name}赢了！");
        }

        public void talk2()
        {
            Console.WriteLine($"太拉了！{name}输了！");
        }
        public void talk3()
        {
            Console.WriteLine("和局，真衰！嘿嘿等着瞧吧！");
        }
        public void talk4()
        {
            Console.Write($"{name1}: 出拳：");
            Console.WriteLine(Fist());
        }
        public override fist Fist() 
        {
            Random red = new Random();
            int key = red.Next(1, 4);
            fist f = (fist)key;
            return f;
        }
    }
}
